package com.flea.hclv.model.dao;

import com.flea.hclv.model.entity.HSubmitAccount;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface HSubmitAccountMapper {
    int deleteByPrimaryKey(String id);

    int insert(HSubmitAccount record);

    int insertSelective(HSubmitAccount record);

    HSubmitAccount selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(HSubmitAccount record);

    int updateByPrimaryKey(HSubmitAccount record);

    HSubmitAccount selectByGroupId(String groupId);

    List<HSubmitAccount> selectByCreateId(@Param("userId") String userId, RowBounds rowBounds);

    List<HSubmitAccount> selectByDeptId(@Param("deptUuid") String deptUuid, RowBounds rowBounds);

    HSubmitAccount selectByTravelGroupIdAndPayDeptId(@Param("travelGroupId") String travelGroupId,@Param("payDeptId") String payDeptId);
}